Search
IGraphics.ClipImage Method (ImageSource, Point[])
See Also
 






Applies a clipping path to an image.

Namespace: MindFusion.Drawing
Assembly: MindFusion.Common

 Syntax

C#  Copy Code

Task<ImageSource> ClipImage (
    ImageSource sourceImage,
    Point[] clipPoly
)

Visual Basic  Copy Code

Function ClipImage( _
    sourceImage As ImageSource, _
    clipPoly() As Point _
) As Task(Of ImageSource)

 Parameters

sourceImage

The image to clip.

clipPoly

A polygon defined by a point collection used for the clip.

 Return Value

The clipped image.

 See Also